Windows Vista startup process

The startup process of Windows Vista, Windows Server 2008, Windows 7 and Windows Server 2008 R2 is different from any previous versions of Windows. For Windows Vista, the boot sector loads the Windows Boot Manager (with filename BOOTMGR), which first looks for an active partition, then accesses the Boot Configuration Data store and uses the information to load the operating system.

Contents

Windows Boot Manager

Windows Boot Manager (BOOTMGR) reads the boot configuration data and displays an operating system selection menu.[1] A notable change is that the Windows Boot Manager is invoked by pressing the space bar instead of the F8 function key.[2] The F8 key still remains assigned for advanced boot options once the Windows Boot Manager menu appears.

To maintain a consistent boot experience on Extensible Firmware Interface systems that also have a boot manager of their own, the Windows Boot Manager, and hence all of the installed Windows operating systems that can be booted using it, appear as a single entry on the EFI boot manager menu. (On EFI systems, the Windows Boot Manager is an EFI application stored on the EFI System Partition). Microsoft only adds multiple entries to the Windows Boot Manager (BCD) menu itself, and sets the timeout of the EFI boot manager to two seconds.

Boot Configuration Data

Boot Configuration Data (BCD) is a firmware-independent database for boot-time configuration data. It replaces the boot.ini that was used by NTLDR, and is used by Microsoft's new Windows Boot Manager.[1]

Boot Configuration Data is stored in a data file that has the same format as the Windows Registry.[3] The file is located either on the EFI System Partition (on machines that use Extensible Firmware Interface firmware) or in \Boot\Bcd on the system volume (on machines that use IBM PC compatible firmware).

Boot Configuration Data may be altered using a command-line tool (bcdedit.exe),[1] using Registry Editor (regedit.exe),[3] using Windows Management Instrumentation,[1] or with third party tools like EasyBCD.

Boot Configuration Data contain the menu entries that are presented by the Windows Boot Manager, just as boot.ini contained the menu entries that were presented by NTLDR. These menu entries can include:

Boot Configuration Data allows for third party integration so anyone can implement tools like diagnostics or recovery options.

winload.exe

The Windows Boot Manager invokes winload.exe—the operating system boot loader—to load the operating system kernel (ntoskrnl.exe) and (boot-class) device drivers.[1] In that respect, winload.exe is functionally equivalent to the operating system loader function of NTLDR in prior versions of Windows NT.

See also

References

Further reading